﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain
{
    //日志表
    public class CustomLog
    {
        [Key]
        //主键
        public int CustomLogId {  get; set; }
        //操作用户Id
        public int? user_id {  get; set; }
        //操作模块名称
        [StringLength(500)]
        public string? operation {  get; set; }
        //操作详情
        [StringLength(700)]
        public string? content { get; set; }
        //操作员账号
        [StringLength(200)]
        public string? loginname {  get; set; }
        //客户端IP
        [StringLength(200)]
        public string? client_ip {  get; set; }
        //创建时间
        [StringLength(400)]
        public string? create_time {  get; set; }
        //操作状态
        public bool? status {  get; set; }
        
        //用户id
        public int? tenant_id {  get; set; }
    }
}
